Transfers with Negative Measured Values
This analysis rule includes the transfer elements that have a negative measured mass/volume. A transfer that has a negative measured mass volume can indicate the following:
- Direction of transfer is incorrect
- It is a sales or receipt adjustment
- Incorrect gauges were used to calculate the transfer quantity
- Invalid data
The following table lists a sample log output for this analysis.
Sample Log
| Time | Severity | Element | Attribute | Message |
|---|---|---|---|---|
| 9/1/2005 10:06 | ...REPORTING TRANSFERS WITH NEGATIVE MEASURED VALUE – BASIS = MASS | |||
| 9/1/2005 10:06 | Error | TransferA | MeasuredMass | MeasuredMass = -500 (kg); Source: TankA; Destination: TankB |
Analysis Method
- Collect a list of all transfer elements within the time range of the Case that satisfy the following criteria:
- Status Attribute value is IS (In Service)
- If the transfer measured mass/volume is not negative, remove it from the analyzed list.
- Write to the log section of the case. Report the test name and the Measurement Basis. Report the list of offending transfers, ordered by name and cause of violation.
Configuration Using the Wizard
The configuration of the Transfers with Negative Measured Values calculation is a selection of the General Gross Error Analysis Rule. You open the window for configuring the test (shown in the following figure) from the General Gross Error Analysis Rule Wizard.
Open the Gross Error Configuration window as described in Configuring - General Gross Error Analysis Rule.
On the Transfers tab, select Transfers with negative measured values.
A Transfers with negative measured values - Attributes window opens.
Select measurement basis and the Attributes according to the following table:
Attributes
Selections Description Measurement Basis Select either mass or volume basis. Measurement Tank inventory actual measurement. The default is 'MeasuredMass' or 'NetVolume' depending on mass or volume selection. Corrected Transfer corrected measurement. The default is 'CorrectedMass' or 'CorrectedVolume' depending on mass or volume selection. Manual Flag Flag to indicate if a corrected measurement was used for the transfer. The default is to 'ManualAdjustmentFlag'. Status Transfer in/out of service status. The default is to 'ObjectStatus'. Click OK to finish the configuration.
The text "CONFIGURED" displays next to the 'Transfers with negative measured values' selection.
To run this test, see Running the General Gross Error Analysis.